package utils;

import java.util.Random;

public class TestEntity {

    private double f1;
    private double f2;
    private double f3;
    private double f4;
    private double f5;
    private double f6;
    private double f7;
    private double f8;
    private double f9;
    private double f10;
    private double f11;
    private double f12;
    private double f13;
    private double f14;
    private double f15;
    private double f16;
    private double f17;
    private double f18;
    private double f19;
    private double f20;

    public TestEntity() {
    }

    public void setF1(double f1) {
        this.f1 = f1;
    }

    public void setF2(double f2) {
        this.f2 = f2;
    }

    public void setF3(double f3) {
        this.f3 = f3;
    }

    public void setF4(double f4) {
        this.f4 = f4;
    }

    public void setF5(double f5) {
        this.f5 = f5;
    }

    public void setF6(double f6) {
        this.f6 = f6;
    }

    public void setF7(double f7) {
        this.f7 = f7;
    }

    public void setF8(double f8) {
        this.f8 = f8;
    }

    public void setF9(double f9) {
        this.f9 = f9;
    }

    public void setF10(double f10) {
        this.f10 = f10;
    }

    public void setF11(double f11) {
        this.f11 = f11;
    }

    public void setF12(double f12) {
        this.f12 = f12;
    }

    public void setF13(double f13) {
        this.f13 = f13;
    }

    public void setF14(double f14) {
        this.f14 = f14;
    }

    public void setF15(double f15) {
        this.f15 = f15;
    }

    public void setF16(double f16) {
        this.f16 = f16;
    }

    public void setF17(double f17) {
        this.f17 = f17;
    }

    public void setF18(double f18) {
        this.f18 = f18;
    }

    public void setF19(double f19) {
        this.f19 = f19;
    }

    public void setF20(double f20) {
        this.f20 = f20;
    }

    public static TestEntity getRandomEntity(){
        Random random = new Random();
        TestEntity entity = new TestEntity();
        entity.setF1(random.nextDouble());
        entity.setF2(random.nextDouble());
        entity.setF3(random.nextDouble());
        entity.setF4(random.nextDouble());
        entity.setF5(random.nextDouble());
        entity.setF6(random.nextDouble());
        entity.setF7(random.nextDouble());
        entity.setF8(random.nextDouble());
        entity.setF9(random.nextDouble());
        entity.setF10(random.nextDouble());
        entity.setF11(random.nextDouble());
        entity.setF12(random.nextDouble());
        entity.setF13(random.nextDouble());
        entity.setF14(random.nextDouble());
        entity.setF15(random.nextDouble());
        entity.setF16(random.nextDouble());
        entity.setF17(random.nextDouble());
        entity.setF18(random.nextDouble());
        entity.setF19(random.nextDouble());
        entity.setF20(random.nextDouble());
        return entity;
    }

}
